package com.stateflow.engine.user.biz.service;

import com.stateflow.facade.common.model.req.CommonRequest;
import com.stateflow.facade.common.model.res.CommonResult;
import com.stateflow.engine.user.biz.dto.req.SubStateFlowReqDTO;
import com.stateflow.engine.user.biz.dto.req.QueryStateFlowReqDTO;

/**
 * Created by weiqingming on 2019/12/5.
 * 用户状态流转配置
 */
public interface CRUDStateFlowService {


    /**
     * 创建状态流转配置
     * @param request
     * @see SubStateFlowReqDTO
     *
     * @return
     */
    CommonResult createStateFlow(CommonRequest request);


    /**
     * 修改状态流转配置
     * @param request
     * @see SubStateFlowReqDTO
     *
     * @return
     */
    CommonResult modifyStateFlow(CommonRequest request);


    /**
     * 删除状态流转配置
     * @param request
     * @see SubStateFlowReqDTO
     *
     * @return
     */
    CommonResult removeStateFlow(CommonRequest request);


    /**
     * 查询状态流转配置
     * @param request
     * @see QueryStateFlowReqDTO
     *
     * @return
     */
    CommonResult queryStateFlow(CommonRequest request);
}
